package org.zhenggn.designpattern.strategy;

/**
 * Created by zhengguinan on 2017/9/14.
 */
public class LargeCustomerStratety implements Strategy {
    public double calcPrice(double goodsPrice) {
        System.out.println("大客户折扣10%");
        return goodsPrice*(1-0.1);
    }
}
